import service from '@/utils/gisRequest'

//根据查询参数获取矢量地块
export const getVectorParcelByQueryParams =(url,params)=>{
  return new Promise((resolve,reject)=>{
    service.get(url,{params:params})
      .then((res)=>{
        resolve(res)
      })
  })
}
//根据查询参数获取矢量地块标注
export const getVectorParcelLabelByQueryParams =(url,params)=>{
  return new Promise((resolve,reject)=>{
    service.get(url,{params:params})
      .then((res)=>{
        resolve(res)
      })
  })
}








